package com.ruoyi.user.service.impl;

import com.ruoyi.user.domain.CarBrand;
import com.ruoyi.user.mapper.CarBrandMapper;
import com.ruoyi.user.service.CarBrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarBrandServiceImpl implements CarBrandService {
    @Autowired
    private CarBrandMapper carBrandMapper;

    @Override
    public List<CarBrand> selectCarBrandList(CarBrand carBrand) {
        return carBrandMapper.selectCarBrandList(carBrand);
    }

    @Override
    public CarBrand getCarBrandById(Long id) {
        return carBrandMapper.getCarBrandById(id);
    }
}
